package com.aaa.mapper;

import com.aaa.entity.Playlist;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface TuiJianPlayListMapper extends BaseMapper<Playlist> {
    /**
     * 根据热度进行倒叙排列，列出前几条热度Pcolt最高的歌单
     * @param keyword
     * @return
     */
    public List<Playlist> listAllPcolt(String keyword);

    /**
     * 查询正常的，不按照热度进行排序
     * @param keyword
     * @return
     */
    public List<Playlist> listAll(String keyword);
}
